package com.project.fiveCerealsSavoury.dao;

import java.util.Date;
import java.util.List;
import com.project.fiveCerealsSavoury.domain.LogisticsDomain;
import com.project.fiveCerealsSavoury.domain.LogitsticsState;
import com.project.fiveCerealsSavoury.transfer.LogAdd;

public interface LogisticsDao {
	/**
	 * 添加
	 * @param logisticsDomain
	 */
	public void add(LogisticsDomain logisticsDomain);
	
	/**
	 * 添加
	 * @param logisticsDomain
	 */
	public void addLog(LogAdd logAdd);
	
	/**
	 * 查询送货人状态 
	 * @param delivery_id
	 * @param deliver_goods
	 * @return
	 */
	public List<LogisticsDomain> queryNottosend(Integer waybillId,LogitsticsState logitsticsState);

	/**
	 * 根据时间查询模糊查询
	 */
	public List<LogisticsDomain> queryTime(Date deliveryTime);
	/**
	 * 修改送货人状态
	 * @param logitsticsState
	 */
	public void amend(LogitsticsState logitsticsState);
	/**
	 * 查询订单属性
	 * @param logisticsDomain
	 * @return
	 */
	public List<LogisticsDomain> queryIndent(Integer id);

}

